package com.example.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.ConsultMerge;
import com.example.mybatisplus.model.domain.DictData;
import com.example.mybatisplus.model.domain.RecordLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2022-05-31
 */
@Repository
public interface RecordLogMapper extends BaseMapper<RecordLog> {
    ConsultMerge queryConsultStuid(Long stu_id);

    void add8records(ConsultMerge consultMerge);

    void updateConsultCount(Long stuId);

    void updateEndDate(ConsultMerge consultMerge);

    List<Long> isExist(Long stu_id);

    void changeRecord(RecordLog recordLog);


    void autoend(Long stuId, Long docId);

    List<RecordLog> getall();

    Integer queryCurrent(Long stuId);


    String getrecordStatusString(Integer recordStatus);

    List<DictData> getdicttypefour();

    void changeRecordxxn(Long id, Long status);
}
